package com.itheima.ui;

import java.util.Iterator;

/**
 * @author zhangbaiyan
 * @date 2024-09-08 13:18
 * @description:
 * @version:
 */
public class zhizh {
    public static void main(String[] args) {
        String s = "hello world";
        Iterator<String> it=s.lines().iterator();
        System.out.println(s.lines());

//        while (it.hasNext()){
////            System.out.println(it.next()+" ");
//        }



    }
}
